﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace client.utils
{
    public class Constant
    {
/*种植区域的宽度*/
        public static readonly ushort plantAreaWidth = 473;

/*种植区域的高度*/
        public static readonly ushort plantAreaHeight = 411;

/*种植区域的x轴偏移量*/
        public static readonly ushort plantAreaXOffset = 343;

/*种植区域的y轴偏移量*/
        public static readonly ushort plantAreaYOffset = 172;


        /**
         * 可以用来种植植物的区域
         */
        public static readonly Rectangle plantArea = new Rectangle(plantAreaXOffset, plantAreaYOffset, plantAreaWidth, plantAreaHeight);

        public static readonly ushort singlePlantWidth = (ushort)(plantAreaWidth / 9);

        public static readonly ushort singlePlantHeight = (ushort)(plantAreaHeight / 5);

    }
}
